import {Route, Routes} from "react-router-dom";
import AppLayout from "./components/layout";
import RegionsView from "./modules/device/views/regions";
import WorkshopLayoutView from "./modules/workshop/views/workshop-layout";

function AppRouter() {
    return (
        <Routes>
            <Route path="/" element={<AppLayout/>}>
                <Route index element={<RegionsView/>}/>
                <Route path={"workshop-layout"} element={<WorkshopLayoutView/>}/>
            </Route>
        </Routes>
    );
}

export default AppRouter;
